<template>
    <div id="gallery">
        <div class="container" v-if="isFull">
            <slot name="l" />
            <slot name="r" />
        </div>
        <div class="container-full" v-else>
            <slot name="l" />
            <slot name="r" />
        </div>
    </div>
</template>

<script>
export default {
    props: {
        isFull: {
            default: true
        }
    }
}
</script>
 
<style lang="less" scoped>
#gallery .container,#gallery .container-full{
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>
